

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" />
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  <title>Ceph Release Process &mdash; Ceph Documentation</title>
  

  
  <link rel="stylesheet" href="../../_static/ceph.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/graphviz.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/css/custom.css" type="text/css" />

  
  
    <link rel="shortcut icon" href="../../_static/favicon.ico"/>
  

  
  

  

  
  <!--[if lt IE 9]>
    <script src="../../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
        <script src="../../_static/jquery.js"></script>
        <script src="../../_static/underscore.js"></script>
        <script src="../../_static/doctools.js"></script>
    
    <script type="text/javascript" src="../../_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="../../genindex/" />
    <link rel="search" title="Search" href="../../search/" />
    <link rel="next" title="SeaStore" href="../seastore/" />
    <link rel="prev" title="Release checklists" href="../release-checklists/" /> 
</head>

<body class="wy-body-for-nav">

   
  <header class="top-bar">
    

















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../../" class="icon icon-home"></a> &raquo;</li>
        
          <li><a href="../internals/">Ceph 内幕</a> &raquo;</li>
        
      <li>Ceph Release Process</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
          
            <a href="../../_sources/dev/release-process.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
  </header>
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search"  style="background: #eee" >
          

          
            <a href="../../">
          

          
            
            <img src="../../_static/logo.png" class="logo" alt="Logo"/>
          
          </a>

          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../../search/" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../start/intro/">Ceph 简介</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../install/">安装 Ceph</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../cephadm/">Cephadm</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../rados/">Ceph 存储集群</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../cephfs/">Ceph 文件系统</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../rbd/">Ceph 块设备</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../radosgw/">Ceph 对象网关</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../mgr/">Ceph 管理器守护进程</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../mgr/dashboard/">Ceph 仪表盘</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../api/">API 文档</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../architecture/">体系结构</a></li>
<li class="toctree-l1"><a class="reference internal" href="../developer_guide/">开发者指南</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../internals/">Ceph 内幕</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../blkin/">Tracing Ceph With LTTng</a></li>
<li class="toctree-l2"><a class="reference internal" href="../blkin/#tracing-ceph-with-blkin">Tracing Ceph With Blkin</a></li>
<li class="toctree-l2"><a class="reference internal" href="../bluestore/">BlueStore Internals</a></li>
<li class="toctree-l2"><a class="reference internal" href="../cache-pool/">Cache pool</a></li>
<li class="toctree-l2"><a class="reference internal" href="../ceph_krb_auth/">如何配置好 Ceph Kerberos 认证的详细文档</a></li>
<li class="toctree-l2"><a class="reference internal" href="../cephfs-mirroring/">CephFS Mirroring</a></li>
<li class="toctree-l2"><a class="reference internal" href="../cephfs-reclaim/">CephFS Reclaim Interface</a></li>
<li class="toctree-l2"><a class="reference internal" href="../cephfs-snapshots/">CephFS 快照</a></li>
<li class="toctree-l2"><a class="reference internal" href="../cephx/">Cephx</a></li>
<li class="toctree-l2"><a class="reference internal" href="../cephx_protocol/">Cephx 认证协议详细阐述</a></li>
<li class="toctree-l2"><a class="reference internal" href="../config/">配置管理系统</a></li>
<li class="toctree-l2"><a class="reference internal" href="../config-key/">config-key layout</a></li>
<li class="toctree-l2"><a class="reference internal" href="../context/">CephContext</a></li>
<li class="toctree-l2"><a class="reference internal" href="../continuous-integration/">Continuous Integration Architecture</a></li>
<li class="toctree-l2"><a class="reference internal" href="../corpus/">资料库结构</a></li>
<li class="toctree-l2"><a class="reference internal" href="../cpu-profiler/">Oprofile 的安装</a></li>
<li class="toctree-l2"><a class="reference internal" href="../cxx/">C++17 and libstdc++ ABI</a></li>
<li class="toctree-l2"><a class="reference internal" href="../deduplication/">去重</a></li>
<li class="toctree-l2"><a class="reference internal" href="../delayed-delete/">CephFS delayed deletion</a></li>
<li class="toctree-l2"><a class="reference internal" href="../dev_cluster_deployement/">开发集群的部署</a></li>
<li class="toctree-l2"><a class="reference internal" href="../dev_cluster_deployement/#id5">在同一机器上部署多套开发集群</a></li>
<li class="toctree-l2"><a class="reference internal" href="../development-workflow/">开发流程</a></li>
<li class="toctree-l2"><a class="reference internal" href="../documenting/">为 Ceph 写作文档</a></li>
<li class="toctree-l2"><a class="reference internal" href="../encoding/">序列化（编码、解码）</a></li>
<li class="toctree-l2"><a class="reference internal" href="../erasure-coded-pool/">纠删码存储池</a></li>
<li class="toctree-l2"><a class="reference internal" href="../file-striping/">File striping</a></li>
<li class="toctree-l2"><a class="reference internal" href="../freebsd/">FreeBSD Implementation details</a></li>
<li class="toctree-l2"><a class="reference internal" href="../generatedocs/">Ceph 文档的构建</a></li>
<li class="toctree-l2"><a class="reference internal" href="../health-reports/">Health Reports</a></li>
<li class="toctree-l2"><a class="reference internal" href="../iana/">IANA 号</a></li>
<li class="toctree-l2"><a class="reference internal" href="../kubernetes/">Hacking on Ceph in Kubernetes with Rook</a></li>
<li class="toctree-l2"><a class="reference internal" href="../libs/">库体系结构</a></li>
<li class="toctree-l2"><a class="reference internal" href="../logging/">集群日志的用法</a></li>
<li class="toctree-l2"><a class="reference internal" href="../logs/">调试日志</a></li>
<li class="toctree-l2"><a class="reference internal" href="../macos/">在 MacOS 上构建</a></li>
<li class="toctree-l2"><a class="reference internal" href="../messenger/">Messenger notes</a></li>
<li class="toctree-l2"><a class="reference internal" href="../mon-bootstrap/">Monitor bootstrap</a></li>
<li class="toctree-l2"><a class="reference internal" href="../mon-elections/">Monitor Elections</a></li>
<li class="toctree-l2"><a class="reference internal" href="../mon-on-disk-formats/">ON-DISK FORMAT</a></li>
<li class="toctree-l2"><a class="reference internal" href="../mon-osdmap-prune/">FULL OSDMAP VERSION PRUNING</a></li>
<li class="toctree-l2"><a class="reference internal" href="../msgr2/">msgr2 协议（ msgr2.0 和 msgr2.1 ）</a></li>
<li class="toctree-l2"><a class="reference internal" href="../network-encoding/">Network Encoding</a></li>
<li class="toctree-l2"><a class="reference internal" href="../network-protocol/">网络协议</a></li>
<li class="toctree-l2"><a class="reference internal" href="../object-store/">对象存储架构概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="../osd-class-path/">OSD class path issues</a></li>
<li class="toctree-l2"><a class="reference internal" href="../peering/">互联</a></li>
<li class="toctree-l2"><a class="reference internal" href="../perf/">Using perf</a></li>
<li class="toctree-l2"><a class="reference internal" href="../perf_counters/">性能计数器</a></li>
<li class="toctree-l2"><a class="reference internal" href="../perf_histograms/">Perf histograms</a></li>
<li class="toctree-l2"><a class="reference internal" href="../placement-group/">PG （归置组）说明</a></li>
<li class="toctree-l2"><a class="reference internal" href="../quick_guide/">开发者指南（快速）</a></li>
<li class="toctree-l2"><a class="reference internal" href="../rados-client-protocol/">RADOS 客户端协议</a></li>
<li class="toctree-l2"><a class="reference internal" href="../rbd-diff/">RBD 增量备份</a></li>
<li class="toctree-l2"><a class="reference internal" href="../rbd-export/">RBD Export &amp; Import</a></li>
<li class="toctree-l2"><a class="reference internal" href="../rbd-layering/">RBD Layering</a></li>
<li class="toctree-l2"><a class="reference internal" href="../release-checklists/">Release checklists</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Ceph Release Process</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#build-environment">1. Build environment</a></li>
<li class="toctree-l3"><a class="reference internal" href="#setup-keyring-for-signing-packages">2. Setup keyring for signing packages</a></li>
<li class="toctree-l3"><a class="reference internal" href="#set-up-build-area">3. Set up build area</a></li>
<li class="toctree-l3"><a class="reference internal" href="#update-build-version-numbers">4.  Update Build version numbers</a></li>
<li class="toctree-l3"><a class="reference internal" href="#create-makefiles">5. Create Makefiles</a></li>
<li class="toctree-l3"><a class="reference internal" href="#run-the-release-scripts">6. Run the release scripts</a></li>
<li class="toctree-l3"><a class="reference internal" href="#create-rpm-repo">7. Create RPM Repo</a></li>
<li class="toctree-l3"><a class="reference internal" href="#create-debian-repo">8. Create Debian repo</a></li>
<li class="toctree-l3"><a class="reference internal" href="#push-repos-to-ceph-org">9.  Push repos to ceph.org</a></li>
<li class="toctree-l3"><a class="reference internal" href="#update-git">10. Update Git</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#point-release">Point release</a></li>
<li class="toctree-l4"><a class="reference internal" href="#development-and-stable-releases">Development and Stable releases</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../seastore/">SeaStore</a></li>
<li class="toctree-l2"><a class="reference internal" href="../sepia/">Sepia 社区测试实验室</a></li>
<li class="toctree-l2"><a class="reference internal" href="../session_authentication/">Session Authentication for the Cephx Protocol</a></li>
<li class="toctree-l2"><a class="reference internal" href="../testing/">测试笔记</a></li>
<li class="toctree-l2"><a class="reference internal" href="../versions/">Public OSD Version</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vstart-ganesha/">NFS CephFS-RGW Developer Guide</a></li>
<li class="toctree-l2"><a class="reference internal" href="../wireshark/">Wireshark Dissector</a></li>
<li class="toctree-l2"><a class="reference internal" href="../zoned-storage/">Zoned Storage Support</a></li>
<li class="toctree-l2"><a class="reference internal" href="../osd_internals/">OSD 开发者文档</a></li>
<li class="toctree-l2"><a class="reference internal" href="../mds_internals/">MDS 开发者文档</a></li>
<li class="toctree-l2"><a class="reference internal" href="../radosgw/">RADOS 网关开发者文档</a></li>
<li class="toctree-l2"><a class="reference internal" href="../ceph-volume/">ceph-volume 开发者文档</a></li>
<li class="toctree-l2"><a class="reference internal" href="../crimson/">Crimson developer documentation</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../governance/">项目管理</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../foundation/">Ceph 基金会</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../ceph-volume/">ceph-volume</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releases/general/">Ceph 版本（总目录）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releases/">Ceph 版本（索引）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../security/">Security</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../glossary/">Ceph 术语</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../jaegertracing/">Tracing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../translation_cn/">中文版翻译资源</a></li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../../">Ceph</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
<div id="dev-warning" class="admonition note">
  <p class="first admonition-title">Notice</p>
  <p class="last">This document is for a development version of Ceph.</p>
</div>
  <div id="docubetter" align="right" style="padding: 5px; font-weight: bold;">
    <a href="https://pad.ceph.com/p/Report_Documentation_Bugs">Report a Documentation Bug</a>
  </div>

  
  <div class="section" id="ceph-release-process">
<h1>Ceph Release Process<a class="headerlink" href="#ceph-release-process" title="Permalink to this headline">¶</a></h1>
<div class="section" id="build-environment">
<h2>1. Build environment<a class="headerlink" href="#build-environment" title="Permalink to this headline">¶</a></h2>
<p>There are multiple build environments, debian based packages are built via pbuilder for multiple distributions.  The build hosts are listed in the <code class="docutils literal notranslate"><span class="pre">deb_hosts</span></code> file, and the list of distributions are in <code class="docutils literal notranslate"><span class="pre">deb_dist</span></code>.  All distributions are build on each of the build hosts.  Currently there is 1 64 bit and 1 32 bit build host.</p>
<p>The RPM based packages are built natively, so one distribution per build host.  The list of hosts is found in <code class="docutils literal notranslate"><span class="pre">rpm_hosts</span></code>.</p>
<p>Prior to building, it’s necessary to update the pbuilder seed tarballs:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">update_all_pbuilders</span><span class="o">.</span><span class="n">sh</span>
</pre></div>
</div>
</div>
<div class="section" id="setup-keyring-for-signing-packages">
<h2>2. Setup keyring for signing packages<a class="headerlink" href="#setup-keyring-for-signing-packages" title="Permalink to this headline">¶</a></h2>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">export</span> <span class="n">GNUPGHOME</span><span class="o">=&lt;</span><span class="n">path</span> <span class="n">to</span> <span class="n">keyring</span> <span class="nb">dir</span><span class="o">&gt;</span>

<span class="c1"># verify it&#39;s accessible</span>
<span class="n">gpg</span> <span class="o">--</span><span class="nb">list</span><span class="o">-</span><span class="n">keys</span>
</pre></div>
</div>
<p>The release key should be present:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pub</span>   <span class="mi">4096</span><span class="n">R</span><span class="o">/</span><span class="mi">17</span><span class="n">ED316D</span> <span class="mi">2012</span><span class="o">-</span><span class="mi">05</span><span class="o">-</span><span class="mi">20</span>
<span class="n">uid</span>   <span class="n">Ceph</span> <span class="n">Release</span> <span class="n">Key</span> <span class="o">&lt;</span><span class="n">sage</span><span class="nd">@newdream</span><span class="o">.</span><span class="n">net</span><span class="o">&gt;</span>
</pre></div>
</div>
</div>
<div class="section" id="set-up-build-area">
<h2>3. Set up build area<a class="headerlink" href="#set-up-build-area" title="Permalink to this headline">¶</a></h2>
<p>Clone the ceph and ceph-build source trees:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">clone</span> <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">ceph</span><span class="o">/</span><span class="n">ceph</span><span class="o">.</span><span class="n">git</span>
<span class="n">git</span> <span class="n">clone</span> <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">ceph</span><span class="o">/</span><span class="n">ceph</span><span class="o">-</span><span class="n">build</span><span class="o">.</span><span class="n">git</span>
</pre></div>
</div>
<p>In the ceph source directory, checkout next branch (for point releases use the {codename} branch):</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">checkout</span> <span class="nb">next</span>
</pre></div>
</div>
<p>Checkout the submodules:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">submodule</span> <span class="n">update</span> <span class="o">--</span><span class="n">force</span> <span class="o">--</span><span class="n">init</span> <span class="o">--</span><span class="n">recursive</span>
</pre></div>
</div>
</div>
<div class="section" id="update-build-version-numbers">
<h2>4.  Update Build version numbers<a class="headerlink" href="#update-build-version-numbers" title="Permalink to this headline">¶</a></h2>
<p>Substitute the ceph release number where indicated below by the string <code class="docutils literal notranslate"><span class="pre">0.xx</span></code>.</p>
<p>Edit configure.ac and update the version number. Example diff:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">-</span><span class="n">AC_INIT</span><span class="p">([</span><span class="n">ceph</span><span class="p">],</span> <span class="p">[</span><span class="mf">0.54</span><span class="p">],</span> <span class="p">[</span><span class="n">ceph</span><span class="o">-</span><span class="n">devel</span><span class="nd">@vger</span><span class="o">.</span><span class="n">kernel</span><span class="o">.</span><span class="n">org</span><span class="p">])</span>
<span class="o">+</span><span class="n">AC_INIT</span><span class="p">([</span><span class="n">ceph</span><span class="p">],</span> <span class="p">[</span><span class="mf">0.55</span><span class="p">],</span> <span class="p">[</span><span class="n">ceph</span><span class="o">-</span><span class="n">devel</span><span class="nd">@vger</span><span class="o">.</span><span class="n">kernel</span><span class="o">.</span><span class="n">org</span><span class="p">])</span>
</pre></div>
</div>
<p>Update the version number in the debian change log:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">DEBEMAIL</span> <span class="n">user</span><span class="nd">@host</span> <span class="n">dch</span> <span class="o">-</span><span class="n">v</span> <span class="mf">0.</span><span class="n">xx</span><span class="o">-</span><span class="mi">1</span>
</pre></div>
</div>
<p>Commit the changes:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">commit</span> <span class="o">-</span><span class="n">a</span>
</pre></div>
</div>
<p>Tag the release:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">../</span><span class="n">ceph</span><span class="o">-</span><span class="n">build</span><span class="o">/</span><span class="n">tag</span><span class="o">-</span><span class="n">release</span> <span class="n">v0</span><span class="o">.</span><span class="n">xx</span>
</pre></div>
</div>
</div>
<div class="section" id="create-makefiles">
<h2>5. Create Makefiles<a class="headerlink" href="#create-makefiles" title="Permalink to this headline">¶</a></h2>
<p>The actual configure options used to build packages are in the
<code class="docutils literal notranslate"><span class="pre">ceph.spec.in</span></code> and <code class="docutils literal notranslate"><span class="pre">debian/rules</span></code> files.  At this point we just
need to create a Makefile.:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">do_autogen</span><span class="o">.</span><span class="n">sh</span>
</pre></div>
</div>
</div>
<div class="section" id="run-the-release-scripts">
<h2>6. Run the release scripts<a class="headerlink" href="#run-the-release-scripts" title="Permalink to this headline">¶</a></h2>
<p>This creates tarballs and copies them, with other needed files to
the build hosts listed in deb_hosts and rpm_hosts, runs a local build
script, then rsyncs the results back to the specified release directory.:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">../</span><span class="n">ceph</span><span class="o">-</span><span class="n">build</span><span class="o">/</span><span class="n">do_release</span><span class="o">.</span><span class="n">sh</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">release</span>
</pre></div>
</div>
</div>
<div class="section" id="create-rpm-repo">
<h2>7. Create RPM Repo<a class="headerlink" href="#create-rpm-repo" title="Permalink to this headline">¶</a></h2>
<p>Copy the rpms to the destination repo:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">mkdir</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">rpm</span><span class="o">-</span><span class="n">repo</span>
<span class="o">../</span><span class="n">ceph</span><span class="o">-</span><span class="n">build</span><span class="o">/</span><span class="n">push_to_rpm_repo</span><span class="o">.</span><span class="n">sh</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">release</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">rpm</span><span class="o">-</span><span class="n">repo</span> <span class="mf">0.</span><span class="n">xx</span>
</pre></div>
</div>
<p>Next add any additional rpms to the repo that are needed such as leveldb.
See RPM Backports section</p>
<p>Finally, sign the rpms and build the repo indexes:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">../</span><span class="n">ceph</span><span class="o">-</span><span class="n">build</span><span class="o">/</span><span class="n">sign_and_index_rpm_repo</span><span class="o">.</span><span class="n">sh</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">release</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">rpm</span><span class="o">-</span><span class="n">repo</span> <span class="mf">0.</span><span class="n">xx</span>
</pre></div>
</div>
</div>
<div class="section" id="create-debian-repo">
<h2>8. Create Debian repo<a class="headerlink" href="#create-debian-repo" title="Permalink to this headline">¶</a></h2>
<p>The key-id used below is the id of the ceph release key from step 2:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">mkdir</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">debian</span><span class="o">-</span><span class="n">repo</span>
<span class="o">../</span><span class="n">ceph</span><span class="o">-</span><span class="n">build</span><span class="o">/</span><span class="n">gen_reprepro_conf</span><span class="o">.</span><span class="n">sh</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">debian</span><span class="o">-</span><span class="n">repo</span> <span class="n">key</span><span class="o">-</span><span class="nb">id</span>
<span class="o">../</span><span class="n">ceph</span><span class="o">-</span><span class="n">build</span><span class="o">/</span><span class="n">push_to_deb_repo</span><span class="o">.</span><span class="n">sh</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">release</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">debian</span><span class="o">-</span><span class="n">repo</span> <span class="mf">0.</span><span class="n">xx</span> <span class="n">main</span>
</pre></div>
</div>
<p>Next add any addition debian packages that are needed such as leveldb.
See the Debian Backports section below.</p>
<p>Debian packages are signed when added to the repo, so no further action is
needed.</p>
</div>
<div class="section" id="push-repos-to-ceph-org">
<h2>9.  Push repos to ceph.org<a class="headerlink" href="#push-repos-to-ceph-org" title="Permalink to this headline">¶</a></h2>
<p>For a development release:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">rcp</span> <span class="n">ceph</span><span class="o">-</span><span class="mf">0.</span><span class="n">xx</span><span class="o">.</span><span class="n">tar</span><span class="o">.</span><span class="n">bz2</span> <span class="n">ceph</span><span class="o">-</span><span class="mf">0.</span><span class="n">xx</span><span class="o">.</span><span class="n">tar</span><span class="o">.</span><span class="n">gz</span> \
     <span class="n">ceph_site</span><span class="nd">@ceph</span><span class="o">.</span><span class="n">com</span><span class="p">:</span><span class="n">ceph</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">downloads</span><span class="o">/.</span>
<span class="n">rsync</span> <span class="o">-</span><span class="n">av</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">rpm</span><span class="o">-</span><span class="n">repo</span><span class="o">/</span><span class="mf">0.</span><span class="n">xx</span><span class="o">/</span> <span class="n">ceph_site</span><span class="nd">@ceph</span><span class="o">.</span><span class="n">com</span><span class="p">:</span><span class="n">ceph</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">rpm</span><span class="o">-</span><span class="n">testing</span>
<span class="n">rsync</span> <span class="o">-</span><span class="n">av</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">debian</span><span class="o">-</span><span class="n">repo</span><span class="o">/</span> <span class="n">ceph_site</span><span class="nd">@ceph</span><span class="o">.</span><span class="n">com</span><span class="p">:</span><span class="n">ceph</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">debian</span><span class="o">-</span><span class="n">testing</span>
</pre></div>
</div>
<p>For a stable release, replace {CODENAME} with the release codename (e.g., <code class="docutils literal notranslate"><span class="pre">argonaut</span></code> or <code class="docutils literal notranslate"><span class="pre">bobtail</span></code>):</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">rcp</span> <span class="n">ceph</span><span class="o">-</span><span class="mf">0.</span><span class="n">xx</span><span class="o">.</span><span class="n">tar</span><span class="o">.</span><span class="n">bz2</span> \
    <span class="n">ceph_site</span><span class="nd">@ceph</span><span class="o">.</span><span class="n">com</span><span class="p">:</span><span class="n">ceph</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">downloads</span><span class="o">/</span><span class="n">ceph</span><span class="o">-</span><span class="mf">0.</span><span class="n">xx</span><span class="o">.</span><span class="n">tar</span><span class="o">.</span><span class="n">bz2</span>
<span class="n">rcp</span> <span class="n">ceph</span><span class="o">-</span><span class="mf">0.</span><span class="n">xx</span><span class="o">.</span><span class="n">tar</span><span class="o">.</span><span class="n">gz</span>  \
    <span class="n">ceph_site</span><span class="nd">@ceph</span><span class="o">.</span><span class="n">com</span><span class="p">:</span><span class="n">ceph</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">downloads</span><span class="o">/</span><span class="n">ceph</span><span class="o">-</span><span class="mf">0.</span><span class="n">xx</span><span class="o">.</span><span class="n">tar</span><span class="o">.</span><span class="n">gz</span>
<span class="n">rsync</span> <span class="o">-</span><span class="n">av</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">rpm</span><span class="o">-</span><span class="n">repo</span><span class="o">/</span><span class="mf">0.</span><span class="n">xx</span><span class="o">/</span> <span class="n">ceph_site</span><span class="nd">@ceph</span><span class="o">.</span><span class="n">com</span><span class="p">:</span><span class="n">ceph</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">rpm</span><span class="o">-</span><span class="p">{</span><span class="n">CODENAME</span><span class="p">}</span>
<span class="n">rsync</span> <span class="o">-</span><span class="n">auv</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span class="n">debian</span><span class="o">-</span><span class="n">repo</span><span class="o">/</span> <span class="n">ceph_site</span><span class="nd">@ceph</span><span class="o">.</span><span class="n">com</span><span class="p">:</span><span class="n">ceph</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">debian</span><span class="o">-</span><span class="p">{</span><span class="n">CODENAME</span><span class="p">}</span>
</pre></div>
</div>
</div>
<div class="section" id="update-git">
<h2>10. Update Git<a class="headerlink" href="#update-git" title="Permalink to this headline">¶</a></h2>
<div class="section" id="point-release">
<h3>Point release<a class="headerlink" href="#point-release" title="Permalink to this headline">¶</a></h3>
<p>For point releases just push the version number update to the
branch and the new tag:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">push</span> <span class="n">origin</span> <span class="p">{</span><span class="n">codename</span><span class="p">}</span>
<span class="n">git</span> <span class="n">push</span> <span class="n">origin</span> <span class="n">v0</span><span class="o">.</span><span class="n">xx</span>
</pre></div>
</div>
</div>
<div class="section" id="development-and-stable-releases">
<h3>Development and Stable releases<a class="headerlink" href="#development-and-stable-releases" title="Permalink to this headline">¶</a></h3>
<p>For a development release, update tags for <code class="docutils literal notranslate"><span class="pre">ceph.git</span></code>:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">push</span> <span class="n">origin</span> <span class="n">v0</span><span class="o">.</span><span class="n">xx</span>
<span class="n">git</span> <span class="n">push</span> <span class="n">origin</span> <span class="n">HEAD</span><span class="p">:</span><span class="n">last</span>
<span class="n">git</span> <span class="n">checkout</span> <span class="n">master</span>
<span class="n">git</span> <span class="n">merge</span> <span class="nb">next</span>
<span class="n">git</span> <span class="n">push</span> <span class="n">origin</span> <span class="n">master</span>
<span class="n">git</span> <span class="n">push</span> <span class="n">origin</span> <span class="n">HEAD</span><span class="p">:</span><span class="nb">next</span>
</pre></div>
</div>
<p>Similarly, for a development release, for both <code class="docutils literal notranslate"><span class="pre">teuthology.git</span></code> and <code class="docutils literal notranslate"><span class="pre">ceph-qa-suite.git</span></code>:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">checkout</span> <span class="n">master</span>
<span class="n">git</span> <span class="n">reset</span> <span class="o">--</span><span class="n">hard</span> <span class="n">origin</span><span class="o">/</span><span class="n">master</span>
<span class="n">git</span> <span class="n">branch</span> <span class="o">-</span><span class="n">f</span> <span class="n">last</span> <span class="n">origin</span><span class="o">/</span><span class="nb">next</span>
<span class="n">git</span> <span class="n">push</span> <span class="o">-</span><span class="n">f</span> <span class="n">origin</span> <span class="n">last</span>
<span class="n">git</span> <span class="n">push</span> <span class="o">-</span><span class="n">f</span> <span class="n">origin</span> <span class="n">master</span><span class="p">:</span><span class="nb">next</span>
</pre></div>
</div>
</div>
</div>
</div>



           </div>
           
          </div>
          <footer>
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
        <a href="../seastore/" class="btn btn-neutral float-right" title="SeaStore" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
        <a href="../release-checklists/" class="btn btn-neutral float-left" title="Release checklists" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>
        &#169; Copyright 2016, Ceph authors and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0).

    </p>
  </div> 

</footer>
        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>